Discover gists
I am using the built in GSM (UMTS) modem of my Thinkpad X1 extensively because I am often in places with flaky internet connections. I connect through the standard Network Manager on Ubuntu and everything works fine. There was one major annoyance though. Every time I wanted to top up the SIM balance or book a new package, I needed a phone to send and receive USSD codes. So I took some time to figure out how to do it from the shell. I wrote this down as a help for others and a reminder for myself. Without further ado...
First intsall gammu and picocom.
➜ ~ sudo apt-get install -y gammu picocom| #!/usr/bin/env node | |
| /** | |
| * Typora macOS 激活脚本 | |
| * 原理:替换二进制中的 RSA 公钥,用自己的私钥签名生成 Activation Token | |
| */ | |
| const crypto = require('crypto'); | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const { spawnSync } = require('child_process'); |
Used Model: Raspberry Pi (Model B Rev 2, armv6l)
Download the Raspberry Pi Imager,
start it and follow the instructions to create an image using the
Raspberry Pi OS Lite (32-bit) (a debian port without desktop environment).
(updated May 2025)
The APs in this list are ordered from highest to lowest performance. However, unless you have a very high number of devices you likely do NOT need to buy the most expensive, highest performance AP. You can also check Ebay for deals, especially on older equipment.
All APs in this list support both wired backhaul and mesh modes. However, wired connections are strongly recommended for better performance and reliability.
Number of spatial streams are listed in order of 2.4GHz, 5GHz, 6GHz.
В этом посте я кратко поведаю о разных интересных возможностях XRay (клиент и сервер для протоколов VMess, VLESS, Trojan и других, в том числе с XTLS-Reality и XTLS-Vision), о которых, кажется, мало кто знает, но которые могут оказаться очень полезными.
На фоне недавних событий (замедление Youtube Роскомнадзором), многие открыли для себя инструменты типа GoodbyeDPI и подобных. Они работают с использованием различных трюков при передаче данных по протоколу TCP, благодаря которым цензурирующее оборудование (так называемое ТСПУ) при обработке TLS-handshake оказывается сбитым с толку и не понимает, на какой именно сайт вы пытаетесь попасть (потому что не может прочитать параметр "SNI" при установке TLS-соединения), и в итоге блокировка/замедление не срабатывает. XRay тоже умеет подобное, там это называется "Fragment".
Простейший конфиг XRay для этого будет выглядеть примерно так:
Current Status (as of December 24, 2025):
Discord officially removed the HypeSquad section from settings in September 2025, meaning you can no longer join via the in-app quiz. Existing badges remain visible on profiles, but new users can't join officially.
Good news: The internal API endpoint (/hypesquad/online) still works! This console script lets you add a HypeSquad house badge directly.
Important Warnings:
- This is unofficial and may violate Discord's Terms of Service (considered automation).
- Use at your own risk—account bans are rare for this but possible.
Основная причина написания этого модуля - возможность поднять системный прокси-сервер в пространстве пользователя, не используя полномочия администратора. Для автоматизации этого действия напишем скрипт в виде модуля, Powershell будет его подгружать автоматически. Для этого создаем папку по пути USERPROFILE\Documents\WindowsPowerShell\Modules\XrayTools и создаем там файл XrayTools.psm1:
# Укажите путь где лежит бинарник и конфигурационный файл xray
$Global:XrayPath = "$env:USERPROFILE\Downloads\xray\xray.exe"
$Global:XrayConfig = "$env:USERPROFILE\Downloads\xray\config.json"
$Global:ProxyAddress = "127.0.0.1:1080"
# Используем маску 172.16/12 для покрытия всего диапазона 172.16.0.0 - 172.31.255.255Written by the speakers and attendees of AIE Code Summit 2026
In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.
Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.
Today we convene to build our own manifesto - the No AI Slop manifesto.
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.